﻿using System.Data;
using DAL;

namespace BLL
{
    public class BllBarCode
    {
        #region[Get-Data]
        public DataTable GetBarCode(string keywords)
        {
            return DalBarCode.GetBarCode(keywords);
        }
        public DataTable GetBarCodeEdit(int id)
        {
            return DalBarCode.GetBarCodeEdit(id);
        }
        #endregion

        #region[Insert-Update-Delete]
        public static bool Insert(EtBarCode obj)
        {
            return DalBarCode.Insert(obj);
        }
        public static bool Update(EtBarCode obj)
        {
            return DalBarCode.Update(obj);
        }
        public static bool Delete(EtBarCode obj)
        {
            return DalBarCode.Delete(obj);
        }
        #endregion
    }
}
